package com.ios.service;

import com.ios.dto.MessageExecution;
import com.ios.entity.Message;
import org.springframework.stereotype.Service;

@Service
public interface IMessageService {

    /**
    *@Author:WenTao
    *@Description:文章发布
    *@Date:14:36 2018/7/19
    */
    MessageExecution PublishMessage(Integer disabler_id,String context);

    /**
    *@Author:WenTao
    *@Description:文章删除
    *@Date:14:36 2018/7/19
    */
    MessageExecution DeleteMessage(Integer id);

    /**
    *@Author:WenTao
    *@Description:文章全显示
    *@Date:14:36 2018/7/19
    */
    MessageExecution ShowAllMessage();

    /**
    *@Author:WenTao
    *@Description:根据关注者id显示文章
    *@Date:14:36 2018/7/19
    */
    MessageExecution ShowMessageByDisablerId(Integer disablerid);
}
